package org.hcyspartnoc.luoxin.pojo.dto.chat;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ChatMessageLikeDto {
    @NotNull(message = "id不能为空")
    private Long messageId;
    @NotNull(message = "状态不能为空")
    @Min(value = 0, message = "状态0-2")
    @Max(value = 2, message = "状态0-2")
    private Integer likeStatus;
}
